//
// Created by 刘禹晨 on 5/19/16.
// Copyright (c) 2016 刘禹晨. All rights reserved.
//

#import <Foundation/Foundation.h>

#define End @"E"
#define Router @"R"
#define Coordinatior @"C"

#define Arming @"R"
#define Alarming @"A"
#define Normal @"N"

@interface ZigbeeModel : NSObject <NSCoding>

@property (retain, nonatomic) NSString *NodeMac;
@property (retain, nonatomic) NSString *NodeType;
@property (retain, nonatomic) NSString *NodeNetworkAddress;

@property (retain, nonatomic) NSString *ParentNodeMac;
@property (retain, nonatomic) NSString *ParentNetworkAddress;

@property (retain, nonatomic) NSString *AlterState;
@property (retain, nonatomic) NSString *isArm;
@property (retain, nonatomic) NSString *currectState;
@property (retain, nonatomic) NSString *ModeState;

@property (retain, nonatomic) NSString *realMac;

@property (nonatomic) int nodeLevel;

@property (retain, nonatomic) NSMutableDictionary *nodeDict;
@property (retain, nonatomic) NSMutableArray *childrenList;


-(void)createDictionary;
-(void)clearDictonary;

@end